package com.mark.mall.admin.platform.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mark.mall.admin.platform.dto.MemberDTO;
import com.mark.mall.admin.platform.entity.Member;
import com.mark.mall.admin.platform.myMethod.MyMapper.MyBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-02-28
 */
@DS("sss")
public interface MemberMapper extends MyBaseMapper<Member> {

    /**
     * 获取会员列表
     *
     * @param name
     * @param mobile
     * @return
     */
    List<MemberDTO> getMemberList(@Param("name") String name, @Param("mobile") String mobile);

}
